25 Answers · sudo service mysql stop · sudo mysqld_safe --skip-grant-tables · sudo service mysql start · sudo mysql -u root · use mysql; · show tables ... ... <看更多>
Search
Search
25 Answers · sudo service mysql stop · sudo mysqld_safe --skip-grant-tables · sudo service mysql start · sudo mysql -u root · use mysql; · show tables ... ... <看更多>
Stop mysql: systemctl stop mysqld · Set the mySQL environment option · Start mysql usig the options you just set · Login as root · Update the root user password ... ... <看更多>
The following worked for me: I ran through the command line wizard to set this up: shell> mysql_secure_installation. ... <看更多>